/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ControlEscolar.Beans;

import java.sql.Date;



/**
 *
 * @author Berenice Morales
 */
public class Student {

private String studentKey;
private String name;
private String firstLastName;
private String secondLastName;
private String CURP;
private String sex;
private String address;
private String martialStatus;
private Date birthday;
private String bloodType;
private String illness;
private String phone;
private String cel;
private String email;
private String nationality;
private String birthCert;
private String DICT_REV;
private String cert;
private String state;



   
     
    /**
     * @return the studentKey
     */
    public String getStudentKey() {
        return studentKey;
    }

    /**
     * @param studentKey the studentKey to set
     */
    public void setStudentKey(String studentKey) {
        this.studentKey = studentKey;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the firstLastName
     */
    public String getFirstLastName() {
        return firstLastName;
    }

    /**
     * @param firstLastName the firstLastName to set
     */
    public void setFirstLastName(String firstLastName) {
        this.firstLastName = firstLastName;
    }

    /**
     * @return the secondLastName
     */
    public String getSecondLastName() {
        return secondLastName;
    }

    /**
     * @param secondLastName the secondLastName to set
     */
    public void setSecondLastName(String secondLastName) {
        this.secondLastName = secondLastName;
    }

    /**
     * @return the CURP
     */
    public String getCURP() {
        return CURP;
    }

    /**
     * @param CURP the CURP to set
     */
    public void setCURP(String CURP) {
        this.CURP = CURP;
    }

    /**
     * @return the sex
     */
    public String getSex() {
        return sex;
    }

    /**
     * @param sex the sex to set
     */
    public void setSex(String sex) {
        this.sex = sex;
    }

    /**
     * @return the address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address the address to set
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return the martialStatus
     */
    public String getMartialStatus() {
        return martialStatus;
    }

    /**
     * @param martialStatus the martialStatus to set
     */
    public void setMartialStatus(String martialStatus) {
        this.martialStatus = martialStatus;
    }

    /**
     * @return the birthday
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * @param birthday the birthday to set
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * @return the bloodType
     */
    public String getBloodType() {
        return bloodType;
    }

    /**
     * @param bloodType the bloodType to set
     */
    public void setBloodType(String bloodType) {
        this.bloodType = bloodType;
    }

    /**
     * @return the illness
     */
    public String getIllness() {
        return illness;
    }

    /**
     * @param illness the illness to set
     */
    public void setIllness(String illness) {
        this.illness = illness;
    }

    /**
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

    /**
     * @return the cel
     */
    public String getCel() {
        return cel;
    }

    /**
     * @param cel the cel to set
     */
    public void setCel(String cel) {
        this.cel = cel;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * @return the nationality
     */
    public String getNationality() {
        return nationality;
    }

    /**
     * @param nationality the nationality to set
     */
    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    /**
     * @return the birthCert
     */
    public String getBirthCert() {
        return birthCert;
    }

    /**
     * @param birthCert the birthCert to set
     */
    public void setBirthCert(String birthCert) {
        this.birthCert = birthCert;
    }

    /**
     * @return the DICT_REV
     */
    public String getDICT_REV() {
        return DICT_REV;
    }

    /**
     * @param DICT_REV the DICT_REV to set
     */
    public void setDICT_REV(String DICT_REV) {
        this.DICT_REV = DICT_REV;
    }


    public String toString(){
    return   "\tSubjectKey = " + getStudentKey()
            +"\t SubjectNAme= "+getName()
            + "\tapellido2= "+getFirstLastName()
            +"\tusuario= "+ getSecondLastName()
            +"\tpassword= "+getCURP()
            +"\t algo="+getSex()
            +"\taddress"+ getAddress()
            +"\tmartialStatus= "+getMartialStatus()
            +"\t birthday="+getBirthday()
            +"\t bloodType="+getBloodType()
            +"\tillness"+ getIllness()
            +"\tphone= "+getPhone()
            +"\t cel="+getCel()
            +"\t email="+getEmail()
            +"\t nationality="+getNationality()
            +"\t birCert= "+getBirthCert()
            +"\t DICT_REV="+ getDICT_REV()
            +"\t TI="+getCert();



    }

    /**
     * @return the cert
     */
    public String getCert() {
        return cert;
    }

    /**
     * @param cert the cert to set
     */
    public void setCert(String cert) {
        this.cert = cert;
    }

    /**
     * @return the state
     */
    public String getState() {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(String state) {
        this.state = state;
    }



}
